- yolov3-tf2

yolo v3tensorflow


Python
python -V
> Python 3.8.6

pip
piptensorflow
pip install --upgrade pip

pipopencv, tensorflow
pip install opencv-python
pip install tensorflow

~/Downloads yolov3.weights
cd ~/Downloads
wget https://pjreddie.com/media/files/yolov3.weights

yolov3-tf2 git clone
cd ~
git clone https://github.com/zzh8829/yolov3-tf2.git

yolov3-tf2 data yolov3.weights
cd ~/yolov3-tf2
cp ~/Downloads/yolov3.weights ./data/

yolov3.weights tensorflow
python convert.py --weights ./data/yolov3.weights --output ./checkpoints/yolov3.tf

python detect_video.py --video 0
macOSVSCode
macOSVSCode2020/12/30
iterm2